package com.tledu.instrument.domain;

import com.tledu.common.annotation.Excel;
import com.tledu.common.core.domain.BaseEntity;

/**
 * 仪器使用记录对象 instrument_use
 *
 * @author ruoyi
 * @date 2024-08-29
 */
public class InstrumentUse extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @Excel(name = "编号")
    private Long id;
    /** 创建者 */
    private Long createId;

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    /**
     * 仪器id
     */
    @Excel(name = "仪器id")
    private Long instrumentId;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private Long useStatus;

    public Long getUseStatus() {
        return useStatus;
    }

    public void setUseStatus(Long useStatus) {
        this.useStatus = useStatus;
    }

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Long createUser;

private String specification;
private String location;
//private String createBY;

//    public String getCreateBY() {
//        return createBY;
//    }
//
//    public void setCreateBY(String createBY) {
//        this.createBY = createBY;
//    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    /**
     * 仪器对象
     */
    @Excel(name = "仪器对象")
    private InstrumentInfo instrumentInfo;

    // instrument对象get,set方法
    public InstrumentInfo getInstrumentInfo() {
        return instrumentInfo;
    }

    public void setInstrumentInfo(InstrumentInfo instrumentInfo) {
        this.instrumentInfo = instrumentInfo;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setInstrumentId(Long instrumentId) {
        this.instrumentId = instrumentId;
    }

    public Long getInstrumentId() {
        return instrumentId;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getCreateUser() {
        return createUser;
    }

    @Override
    public String toString() {
        return "InstrumentUse{" +
                "id=" + id +
                ", instrumentId=" + instrumentId +
                ", createUser=" + createUser +
                ", instrumentInfo=" + instrumentInfo +
                '}';
    }
}
